
public class Country {

	
	public String id = "";
	
	public int[] co2 = new int[12];
	public int[] energy = new int[12];
	
	public void setCO2ForYear(int year, int value) {
		co2[year - 2000] = value;
	}
	
	public void setEnergyForYear(int year, int value) {
		energy[year - 2000] = value;
	}
	public int getCO2ForYear(int year) {
		return co2[year - 2000];
	}
	
	public int getEnergyForYear(int year) {
		return energy[year - 2000];
	}
	
	
    @Override
    public int hashCode() {
        return Integer.valueOf(id);
    }
	
	
}
